FROM ccr.ccs.tencentyun.com/w7team/swoole:cli-php8.0
ENV SERVERLESS_PLATFORM_VENDOR tencent

RUN apk add nodejs && apk add npm
RUN npm config set registry https://registry.npm.taobao.org
RUN node -v && npm install -g serverless

#RUN cd /home && sls init w7-sls
# RUN apt install -y php
#ccr.ccs.tencentyun.com/afan-public/sls:latest